package com.by.common.swagger;


import org.springframework.boot.context.properties.ConfigurationProperties;

@SuppressWarnings("all")
@ConfigurationProperties(prefix = "sw")
public class SwaggerProperties {

    private boolean enable = true;//是否可以访问接口文档  默认可以访问

    private String basePackage = "com.by.controller"; //扫描的基础包

    private String urlPattern = "/api/**"; //扫描的路径

    private String title = "接口文档";

    private String description = "接口文档，里面包含了所有的请求及参数信息";

    private String name = "hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh";//联系人

    private String url = "http://localhost:8080";//接口访问地址

    private String email = "984267985@qq.com";

    private String version = "V1";//版本

    public boolean isEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }

    public String getBasePackage() {
        return basePackage;
    }

    public void setBasePackage(String basePackage) {
        this.basePackage = basePackage;
    }

    public String getUrlPattern() {
        return urlPattern;
    }

    public void setUrlPattern(String urlPattern) {
        this.urlPattern = urlPattern;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }


}